package com.stenio.fancat.domain.behavior;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.stenio.fancat.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("fc_behavior")
public class Behavior extends BaseEntity {

    /** 序列化ID */
    private static final long serialVersionUID = 5240850382247208935L;

    /** 自增主键 */
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    @TableField("name")
    private String name;
    @TableField("behavior_id")
    private String behaviorId;
    @TableField("candy")
    private Integer candy;
    @TableField("describe")
    private String describe;
    @TableField("status")
    private Integer status;
    @TableField("parent_id")
    private String parentId;

}
